package com.zhangye.test.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.zhangye.test.model.SearchLog;

@Repository
public interface SearchLogMapper {


    int deleteByPrimaryKey(Long id);

    int insert(SearchLog record);

    SearchLog selectByPrimaryKey(Long id);

    List<SearchLog> selectAll();

    int updateByPrimaryKey(SearchLog record);

    List<SearchLog> selectByWhere(@Param("where")String where);
}